#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>

int main()
{
	pid_t pid;
	pid = fork();
	if(pid > 0)
	{
		exit(0);
	}else if(pid == 0)
	{
		printf("q\n");
		printf("\nnow pid: %d\t ppid:%d \n",getpid(),getppid());
		while(1);

	}
}
